-
Notifications
You must be signed in to change notification settings - Fork 32
✨ dynamic-scheduler prerequisites ⚠️🚨 #8287
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
✨ dynamic-scheduler prerequisites ⚠️🚨 #8287
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #8287 +/- ##
==========================================
- Coverage 87.85% 87.84% -0.01%
==========================================
Files 1940 1940
Lines 75276 75306 +30
Branches 1309 1311 +2
==========================================
+ Hits 66131 66153 +22
- Misses 8752 8757 +5
- Partials 393 396 +3
Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
🧪 CI InsightsHere's what we observed from your CI run for 39c0c04. 🟢 All jobs passed!But CI Insights is watching 👀 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thx
packages/service-library/src/servicelib/deferred_tasks/_task_schedule.py
Outdated
Show resolved
Hide resolved
packages/service-library/src/servicelib/deferred_tasks/_deferred_manager.py
Show resolved
Hide resolved
…-dy-scheduler-part-1
|



What do these changes do?
niceguito latest versionBelow a preview of the updated DeferredTasks diagram
stateDiagram-v2 (1) --> Scheduled: via [start] (2) --> ManuallyCancelled: via [cancel] ManuallyCancelled --> Worker: attempts to cancel task in Scheduled --> SubmitTask SubmitTask --> Worker ErrorResult --> SubmitTask: try again Worker --> ErrorResult: upon error ErrorResult --> FinishedWithError: gives up when out of retries or if cancelled Worker --> DeferredResult: success DeferredResult --> (3): calls [on_result] FinishedWithError --> (4): calls [on_finished_with_error] Worker --> Removed*: task cancelled Removed* --> (5): calls [on_cancelled]Related issue/s
How to test
Dev-ops⚠️ 🚨
redis_commanderremove all entries inside theDEFERRED_TASKSdatabase